package com.kdl.webconfig.vo.config;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 王成杰
 * @description TODO
 * @date 2022-09-15 下午7:22
 */
@Data
public class ButtonConfigVO implements Serializable {

    private Integer id;

    @NotNull(message = "picId不能为空")
    private Integer picId;

    @NotBlank(message = "内容不能为空")
    private String comment;

    @NotBlank(message = "链接不能为空")
    private String linkUrl;

    @NotNull(message = "语言类型不能为空")
    private Integer lanType;

}
